package day15_Thread.demo05_Thread;

public class MyThread1 extends Thread{
    @Override
    public void run() {
        for (int i = 1; i <=100 ; i++) {
            System.out.println(Thread.currentThread().getName()+":"+i);
        }
    }

    public MyThread1() {
    }

    public MyThread1(String name) {
        super(name);
    }
}
